package myJs.myPkg.reactBootstrap

import slinky.core.ExternalComponent
import slinky.core.annotations.react
import slinky.core.facade.ReactElement

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport

/**
 * Created by yz on 12/5/2022
 */
@react object Popover extends ExternalComponent {
  case class Props(
                    id: String
                  )

  @js.native
  @JSImport("react-bootstrap", "Popover")
  object Component extends js.Object {

    val Title: js.Object = js.native

    val Content: js.Object = js.native

  }

  override val component = Component

  @react object Title extends ExternalComponent {
    case class Props()

    override val component = Component.Title

  }

  @react object Content extends ExternalComponent {
    case class Props()

    override val component = Component.Content

  }

}
